﻿namespace AnyOffice.Model
{
    using System;

    public class FlowRunDataData
    {
        protected int _dataId = -1;
        protected object _itemData;
        protected int _itemId;
        protected int _runId;

        public int DataId
        {
            get
            {
                return this._dataId;
            }
            set
            {
                this._dataId = value;
            }
        }

        public string ItemData
        {
            get
            {
                return (string) this._itemData;
            }
            set
            {
                this._itemData = value;
            }
        }

        public bool ItemDataIsNull
        {
            get
            {
                return (this._itemData == null);
            }
            set
            {
                if (value)
                {
                    this._itemData = null;
                }
            }
        }

        public int ItemId
        {
            get
            {
                return this._itemId;
            }
            set
            {
                this._itemId = value;
            }
        }

        public int RunId
        {
            get
            {
                return this._runId;
            }
            set
            {
                this._runId = value;
            }
        }
    }
}

